package com.teamwork.common.entity.module03.dto;

import com.teamwork.common.entity.module03.Comment;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommentDto {

    private Comment comment;

    private String nickname;

    private String userIcon;

    private List<ReplyDto> replyDtoList;



    //无回复的构造方法
    public CommentDto(Comment comment,String nickname,String userIcon){
        this.comment=comment;
        this.nickname=nickname;
        this.userIcon=userIcon;
    }


}
